﻿using Infrastructure.WebApi;
using Microsoft.AspNetCore.Mvc;

namespace Web.Controllers
{
    [ApiController]
    [Route("api/[controller]/[action]")]
    public class LogController : ControllerBase
    {
        public ILogService _service { get; set; }
        public LogController(ILogService service)
        {
            _service = service;
        }
        [HttpGet]
        public async Task<Page<SysLogOperation>> GetOperation([FromQuery] KeywordRequest request)
        {
            return await _service.Get(request);
        }
    }
}